package me.ctidy.assignment04.constant;

import androidx.annotation.DrawableRes;
import androidx.annotation.NonNull;
import androidx.annotation.StringRes;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
import me.ctidy.assignment04.R;

/**
 * AssetsType
 *
 * @author ctidy
 */
@AllArgsConstructor
@Getter
@ToString
public enum  AssetsType {

    CASH(1L, "cash", R.string.constant_assets_type_cash, R.drawable.ic_assets_cash),
    CARD(2L, "card", R.string.constant_assets_type_card, R.drawable.ic_assets_card),
    ALIPAY(3L, "alipay", R.string.constant_assets_type_alipay, R.drawable.ic_assets_alipay),
    WECHAT(4L, "wechat", R.string.constant_assets_type_wechat, R.drawable.ic_assets_wechat),
    OTHER(5L, "other", R.string.constant_assets_type_other, R.drawable.ic_assets_other);

    private final @NonNull Long id;
    private final @NonNull String name;
    private final @StringRes int localName;
    private final @DrawableRes int iconId;

}
